package com.ruoyi.work.service;

import java.util.List;

import com.ruoyi.common.core.page.Pages;
import com.ruoyi.common.ehance.MyService;
import com.ruoyi.work.domain.WorkBillDetail;

/**
 * 工单详情Service接口
 * 
 * @author xwj
 * @date 2024-08-19
 */
public interface IWorkBillDetailService extends MyService<WorkBillDetail> {
    /**
     * 查询工单详情
     * 
     * @param id 工单详情主键
     * @return 工单详情
     */
    public WorkBillDetail selectWorkBillDetailById(Long id);

    /**
     * 查询工单详情列表
     * 
     * @param workBillDetail 工单详情
     * @return 工单详情集合
     */
    public List<WorkBillDetail> selectWorkBillDetailList(WorkBillDetail workBillDetail);

    /**
     * 新增工单详情
     * 
     * @param workBillDetail 工单详情
     * @return 结果
     */
    public WorkBillDetail insertWorkBillDetail(WorkBillDetail workBillDetail);

    /**
     * 修改工单详情
     * 
     * @param workBillDetail 工单详情
     * @return 结果
     */
    public WorkBillDetail updateWorkBillDetail(WorkBillDetail workBillDetail);

    /**
     * 批量删除工单详情
     * 
     * @param ids 需要删除的工单详情主键集合
     * @return 结果
     */
    public int deleteWorkBillDetailByIds(Long[] ids);

    /**
     * 删除工单详情信息
     * 
     * @param id 工单详情主键
     * @return 结果
     */
    public int deleteWorkBillDetailById(Long id);

    int delete(WorkBillDetail workBillDetail);

    Pages<WorkBillDetail> queryPage(WorkBillDetail workBillDetail);

    void deleteWorkBillDetailByBillIds(Long[] ids);
}
